{extends file="main.tpl"}
{block name=head}
<script type="text/javascript">
{literal}	
$(document).ready(function() {
	$(".add").click(function(){
    $("#one").clone(true).appendTo("#mainDiv")
    .find('input[type="text"]').val('').end();
  });
  $('.delete').click(function(){
    $(this).parents("#one").remove();  
 });  
});
function showExtraRow()
{
	$("#extraRow").fadeIn('slow');
	$("#showCheckBox").fadeIn('slow');
}
{/literal}
</script>
{/block}
{block name=body}
<form name="material" action="{$smarty.server.PHP_SELF}" method="post" width="100%">
<table align="center" border="0" cellpadding="1" cellspacing="1" >
<input type="hidden" name="logSheetId" value="{$logDataArray.logSheetId}" />
<input type="hidden" name="incomingId" value="{$logDataArray.incomingId}" />
<input type="hidden" name="planningId" value="{$logDataArray.planningId}" />
<input type="hidden" name="processId" value="{$logDataArray.processId}" />
<tr><td align="center" class="table1" colspan="2">Process Monitoring Report</td></tr>
<tr>
	<td valign="top" width="35%">
		<table align="left" border="0" cellpadding="1" cellspacing="1" >
		<tr>
      <td align="center" class="table1">Party's<br>Chl No.</td>
      <td align="center" class="table1">Party Name</td>
      <td align="center" class="table1">Process<br>Start Dt.</td>
      <td align="center" class="table1">Batch No.</td>
      <td align="center" class="table1">Process</td>
      <td align="center" class="table1">Qty</td>
      <td align="center" class="table1">Wt</td>
      <td align="center" class="table1">Material</td>
    </tr>
    <tr>
		  <td align="center" class="table2">
		  	{$logDataArray.incChallan}
		  	<input type="hidden" name="incChallan" value="{$logDataArray.incChallan}" />
		  </td>
		  <td align="center" class="table2">
		  	{$logDataArray.partyName}<br><input type="text" name="newPartyName" id="newPartyName" >
		  	<input type="hidden" name="partyName" value="{$logDataArray.partyName}" />
		  </td>
		  <td align="center" class="table2" NOWRAP>{html_select_date prefix="pmDate" time=$logDataArray.logsheetDate start_year ="-0" end_year="+2" field_order="DMY" month_format="%m" day_value_format="%02d"}</td>
		  <td align="center" class="table2">
		  	{$logDataArray.furnace}/{$logDataArray.logsheetNo}
		  	<input type="hidden" name="batchNo" value="{$logDataArray.furnace}/{$logDataArray.logsheetNo}" />
		  </td>
		  <td align="center" class="table2">{$logDataArray.processName}<br><input type="text" name="newProcessName" id="newProcessName" ></td>
		  <td align="center" class="table2">
		  	<input type="hidden" name="quantity" value="{$logDataArray.quantity}" />
		  	{$logDataArray.quantity}
		  </td>
		  <td align="center" class="table2">
		  	<input type="hidden" name="weight" value="{$logDataArray.weight}" />
		  	{$logDataArray.weight}
		  </td>
		  <td align="center" class="table2">
		    <select name="materialId">
		      <option value="">Select</option>
		      {html_options values=$catmaterialArray.materialId output=$catmaterialArray.materialName selected=$logDataArray.materialId}
		    </select>
		  </td>
    </tr>
    <tr>
      <td align="right" class="table1" colspan="4">Notes :</td>
      <td align="center" class="table2" colspan="4"><textarea name="notes" cols="40" rows="3"></textarea></td>
    </tr>
    </table>
  </td>
  <td valign=top width="70%">
    <table align="left" border="0" cellpadding="1" cellspacing="1" >
    <tr>
      <td align="center" class="table1">&bull;</td>
      <td align="center" class="table1">Time Hrs.</td>
      <td align="center" class="table1">Temp &deg;C</td>
      <td align="center" class="table1">&bull;</td>
      <td align="center" class="table1">&bull;</td>
    </tr>
    <tr>
      <td align="left" class="table1">Starting At</td>
      <td align="center" class="table2" NOWRAP>{html_select_time prefix=startTime use_24_hours=true display_seconds=false time=$logDataArray.startTime}</td>
      <td align="center" class="table2" NOWRAP><input type="text" name="startTemperature" size="2" value="{$logDataArray.startTemperature}">&deg;C</td>
      <td align="left" class="table1">Quencing Media</td>
      <td align="left" class="table2"><select name="qMId" >{html_options values=$qmArray.qMId output=$qmArray.qMName}</select></td>
    </tr>
    <tr>
      <td align="left" class="table1">Soaking Start</td>
      <td align="center" class="table2">{html_select_time prefix=soakStartTime use_24_hours=true display_seconds=false time=$logDataArray.soakingStartTime}</td>
      <td align="center" class="table2"><input type="text" name="soakingStartTemperature" size="2" value="{$logDataArray.temp}">&deg;C</td>
      <td align="left" class="table1">Quencing Time</td>
      <td align="left" class="table2" NOWRAP><input type="text" name="quenchingTime" size="2" value="{$logDataArray.quenchingTime}">sec</td>
    </tr>
    <tr>
      <td align="left" class="table1">Soaking Period</td>
      <td align="left" class="table2"><input type="text" name="soakingHour" size="2" value="{$logDataArray.soaking}">Hrs</td>
      <td align="center" class="table2"><input type="text" name="soakingHourTemperature" size="2" value="{$logDataArray.temp}">&deg;C</td>
      <td align="left" class="table1">Bath Temp Before Quench</td>
      <td align="left" class="table2"><input type="text" name="tempBforQue" size="2" value="{$logDataArray.tempBforQue}">&deg;C</td>
    </tr>
    <tr>
      <td align="left"   class="table1">End Time</td>
      <td align="center" class="table2">{html_select_time prefix=endTime use_24_hours=true display_seconds=false time=$logDataArray.endTime}</td>
      <td align="center" class="table2"><input type="text" name="endTemperature" size="2" value="{$logDataArray.endTemperature}">&deg;C</td>
      <td align="left"   class="table1">Bath Temp After Quench</td>
      <td align="left"   class="table2"><input type="text" name="tempAfterQue" size="2" value="{$logDataArray.tempAfterQue}">&deg;C</td>
    </tr>
    <tr id="showDown">
    	<td>&nbsp;</td>
    	<td colspan="4">
    		<a href="#" onclick="showExtraRow();">Show Down &bull;</a>&nbsp;
    		<span id="showCheckBox" style="display:none;">
    			Below data is required : 
    			<input type="checkbox" name="putExtraData" value="1">
    		</span>
    	</td>
    </tr>
    <tbody id="extraRow" style="display:none;">
    <tr id="">
      <td align="left" class="table1">Temp Attainec</td>
      <td align="center" class="table2">{html_select_time prefix=extraTempAttain use_24_hours=true display_seconds=false}</td>
      <td align="center" class="table2"><input type="text" name="extraTempAttainTemperature" size="2">&deg;C</td>
    </tr>
    <tr id="">
      <td align="left" class="table1">Soaking</td>
      <td align="center" class="table2">{html_select_time prefix=extraSoaking use_24_hours=true display_seconds=false}</td>
      <td align="center" class="table2"><input type="text" name="extraSoakingTemperature" size="2">&deg;C</td>
    </tr>
    <tr id="">
      <td align="left" class="table1">Out</td>
      <td align="center" class="table2">{html_select_time prefix=extraOut use_24_hours=true display_seconds=false}</td>
      <td align="center" class="table2"><input type="text" name="extraOutTemperature" size="2">&deg;C</td>
    </tr>
    </tbody>
    </table>
  </td>
</tr>
<tr>
	<td valign=top>
		<table align="left" border="0" cellpadding="1" cellspacing="1" width=50%>
		<tr>
			<td class="table1" align="center">Time :</td>
			<td class="table1" align="center">Temp :</td>
			<td class="table1" align="center" colspan=2>&bull;</td>
		</tr>
		<tbody id="mainDiv">
    <tr id="one">
			<td class="table2" align="center">{html_select_time field_array="detailTime[]" use_24_hours=true display_seconds=false all_extra="class=\"timeComboAdd\"" time=$logDataArray.startTime}</td>
			<td class="table2" align="center"><input type="text" class="rightAlign" name="detailTemperature[]" size="2" value="{$logDataArray.startTemperature}">&deg;C</td>
			<td class="table2" align="center"><input type="button" name="add" class="add" value="Add" /></td>
			<td class="table2" align="center"><input type="button" name="deleteBtn" class="delete" value="Delete" /></td>
		</tr>
		</tbody>
	  </table>	
  </td>
	<td valign=top>
	  <table align="left" border="0" cellpadding="1" cellspacing="1" width=100%>
	  	<tr>
	  		<td align="center" class="table1" width="10%">&bull;</td>
	  		<td align="center" class="table1" width="10%"><input type="text" size="5" name="column1" value="{$logDataArray.column1}"></td>
	  		<td align="center" class="table1" width="15%"><input type="text" size="5" name="column2" value="{$logDataArray.column2}"></td>
	  		<td align="center" class="table1" width="15%"><input type="text" size="5" name="column3" value="{$logDataArray.column3}"></td>
	  		<td align="center" class="table1" width="15%"><input type="text" size="5" name="column4" value="{$logDataArray.column4}"></td>
	  		<td align="center" class="table1" width="15%"><input type="text" size="5" name="column5" value="{$logDataArray.column5}"></td>
	  		<td align="center" class="table1" width="15%"><input type="text" size="5" name="column6" value="{$logDataArray.column6}"></td>
	  	</tr>
	  	{section name=dtlSec loop=$incDtlArray}
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign"class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign"class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign"class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign"class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign"class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign"class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>                                                                 
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<!--tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>
	  	<tr>
	  		<td align="center" class="table2"><input type="checkbox" name="IncomingDetailId[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].IncomingDetailId}"></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns1[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns1}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns2[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns2}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns3[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns3}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns4[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns4}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns5[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns5}" /></td>
	  		<td align="center" class="table2"><input size="5" class="rightAlign" type="text" name="columns6[{$incDtlArray[dtlSec].IncomingDetailId}]" value="{$incDtlArray[dtlSec].columns6}" /></td>
	  	</tr>-->
	  	
	  	{/section}
	  </table>
  </td>
</tr>
<tr><td align="center" class="table1" colspan="2"><input type="submit" name="pmSubmitBtn" value=" Submit Report " style="font-size:18px;" /></td></tr>
</table>
</form>
{/block}